package org.linlinjava.litemall.admin.dto;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * Author tony
 * Description //TODO
 * Date 2020/10/23 20:10
 */

public class FormulaVO {
    private Integer id;
    private String code;
    private String name;
    private Integer number;
    private BigDecimal price;
    private String brief;
    private LocalDateTime addTime;
    private List<MaterialVO> materialVOS;

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public List<MaterialVO> getMaterialVOS() {
        return materialVOS;
    }

    public void setMaterialVOS(List<MaterialVO> materialVOS) {
        this.materialVOS = materialVOS;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "FormulaVO{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", number=" + number +
                ", brief=" + brief +
                ", price=" + price +
                ", addTime=" + addTime +
                ", materialVOS=" + materialVOS +
                '}';
    }
}
